Skip to content

feat: add flag to limit minimum number of characters - #157

Closed
Packss wants to merge 1 commit into
sentriz:masterfrom
Packss:master
Closed

feat: add flag to limit minimum number of characters#157
Packss wants to merge 1 commit into
sentriz:masterfrom
Packss:master

Conversation

@Packss

@Packss Packss commented Aug 30, 2025

Copy link
Copy Markdown
Contributor

Closes #62, but probably wont work for emojis

@sentriz

sentriz commented Aug 31, 2025

Copy link
Copy Markdown
Owner

maybe we can use uniseg.StringWidth from https://github.com/rivo/uniseg

@Packss

Packss commented Aug 31, 2025

Copy link
Copy Markdown
Contributor Author

maybe we can use uniseg.StringWidth from https://github.com/rivo/uniseg

I think if we are going to use uniseg it's better to use grapheme cluster count, which includes complex emojis (like different colors for the same emoji)

@sentriz sentriz closed this in e18c06a Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

minimum chars

2 participants